package com.example.s2i_demo_java.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping
public class HealthController {
    @GetMapping(path = "/healthz/ready")
    public String single() {
        System.out.printf("hello");
        return "success";
    }
}